package com.jsonal.entity.api;

import com.baomidou.mybatisplus.annotation.TableField;
import com.jsonal.entity.BasePageBean;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Author: jingji.lin
 * @Description:
 * @Date: 2020/4/20 14:48
 * @Version: 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserBean extends BasePageBean {

    private Integer id;

    private String name;

    @ApiModelProperty(value = "账号")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "性别")
    private Integer sex;

    private Integer age;

    private String birthday;

    @TableField("QQ")
    private String qq;

    private String email;

    private String telephone;

    private String info;

    private String avatarUrl;

    private String sign;

    private Date createTime;

    private Date updateTime;

    private Boolean delFlag;

    private String code;

    private String token;

    private Boolean state;
}
